package com.site.wisdom_construction.service.trainingCheckModule;

import com.site.wisdom_construction.dao.trainingCheckModule.ExamQuestionsPublicDao;
import com.site.wisdom_construction.entity.trainingCheckModule.ExamQuestionsPublic;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/18
 * @Description
 */
@Service
public class ExamQuestionsPublicService implements ExamQuestionsPublicDao {
    @Autowired
    private ExamQuestionsPublicDao examQuestionsPublicDao;

    @Override
    public int insertExamQuestionsPublic(Map map) {
        return examQuestionsPublicDao.insertExamQuestionsPublic(map);
    }

    @Override
    public int deleteExamQuestionsPublic(Map map) {
        return examQuestionsPublicDao.deleteExamQuestionsPublic(map);
    }

    @Override
    public int updateExamQuestionsPublic(Map map) {
        return examQuestionsPublicDao.updateExamQuestionsPublic(map);
    }

    @Override
    public List<ExamQuestionsPublic> findExamQuestionsPublicByPage(Map map) {
        return examQuestionsPublicDao.findExamQuestionsPublicByPage(map);
    }

    @Override
    public long Total(Map map) {
        return examQuestionsPublicDao.Total(map);
    }

    @Override
    public ExamQuestionsPublic findExamQuestionsPublicById(Map map) {
        return examQuestionsPublicDao.findExamQuestionsPublicById(map);
    }
}
